package com.wanggan.design.strategy;

/**
 * @author wanggan
 */
public class Context {
    
    private IStrategy strategy;
    
    public Context(IStrategy strategy) {
        this.strategy = strategy;
    }
    
    
    public void operate(){
        this.strategy.operate();
    }
}
